<!doctype html>
<html>

<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="../../css/mui.css" />
    <link rel="stylesheet" type="text/css" href="upload.css" />
</head>

 
	<body>
		 <header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="title" class="mui-title">上传新品</h1>
		</header>
 <div class="main">
  <form bindsubmit='toPublish'>
    <div class='list'>
      <div>商品类别</div>
      <div>
        <div class='cat_name'   bindtap="toCat">请选择</div>
        <div class='cat_name'   bindtap="toCat"> </div>
        <!-- <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
=======
<body>
    <div class="mui-inner-wrap">
        <header class="mui-bar mui-bar-nav">
            <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
            <h1 id="title" class="mui-title">首页</h1>
        </header>
        <div class="main">
            <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
            <form bindsubmit='toPublish'>
                <div class='list'>
                    <div>商品类别</div>
                    <div>
                        <div class='cat_name' bindtap="toCat">请选择</div>
                        <div class='cat_name' bindtap="toCat"> </div>
                        <!-- <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
>>>>>>> 65362cd6e6df0a4ae45296e161a2cae92c249349
          <text class=''></text>
          <div class="picker">
            <text wx:if="{{!array[index]}}">请选择</text> {{array[index]}}
          </div>
        </picker> -->
                        <div class='iconfont icon-more'></div>
                    </div>
                </div>
                <div class='list'>
                    <div>商品名称</div>
                    <div>
                        <input placeholder='请输入商品名称信息' name='goodsname' placeholder-style="color: #b2b2b2;"></input>
                    </div>
                </div>
                <div class='list'>
                    <div>价格</div>
                    <div>
                        <input placeholder='请输入价格' name='goodsprice' placeholder-style="color: #b2b2b2;"></input>
                    </div>
                </div>
                <div class='list'>
                    <div>库存量</div>
                    <div>
                        <input placeholder='请输入数量' name='goodsnumber' placeholder-style="color: #b2b2b2;"></input>
                    </div>
                </div>
                <div class='list list_img'>
                    <div>商品图片</div>
                    <div class="Pic">
                        <div class="PicBlock" wx:if="{{imgPath2!=''}}">
                            <image src="{{imgPath2}}"></image>
                            <div class="del" data-id="0" bindtap="del">
                                <text class="iconfont icon-del1"></text>
                            </div>
                        </div>
                        <div class="PicBlock" wx:if="{{imgPath3!=''}}">
                            <image src="{{imgPath3}}"></image>
                            <div class="del" data-id="1" bindtap="del">
                                <text class="iconfont icon-del1"></text>
                            </div>
                        </div>
                        <div class="PicBlock add" bindtap="checkimg">
                            <image src="{{imgPath}}"></image>
                            <div class="del" data-id="2" wx:if="{{imgPath!='../../img/add.png'}}" catchtap="del">
                                <text class="iconfont icon-del1"></text>
                            </div>
                        </div>
                        <div class="small">(最多上传3张图片)</div>
                    </div>
                </div>
                <button class='sub' form-type='submit'>确认发布</button>
            </form>
        </div>
    </div>
		<script src="../../js/mui.min.js"></script>
		<script type="text/javascript">
			mui.init()
		</script>
	</body>
    <script src="../../js/mui.min.js"></script>
    <script type="text/javascript">
    mui.init()
    </script>
</body>

</html>